﻿@model AssetManageSystem.ViewModel.AssetManage.AssetInfoVMs.AssetInfoVM
@inject IStringLocalizer<Program> Localizer;

<wt:form vm="@Model" label-width="120">
    <wt:row items-per-row="ItemsPerRowEnum.Four">
        <wt:textbox field="Entity.AsCode" disabled="true" colspan="2" />
        <wt:textbox field="Entity.AssetOwnership" colspan="2" />
        <wt:combobox field="Entity.TypeId" items="AllTypes" />
        <wt:textbox field="Entity.AsName" />
        <wt:combobox field="Entity.MeasUnit" />
        <wt:textbox field="Entity.PurchasPrice" icon="layui-icon-windows" />
        <wt:Radio field="Entity.Source" colspan="3"  label-text="资产来源" />
        <wt:datetime field="Entity.BuyTime" />
        <wt:textbox field="Entity.Supplier" colspan="2" />
        <wt:textbox field="Entity.SupplierContact" />
        <wt:textbox field="Entity.SupplierTel" />
        <wt:textbox field="Entity.AssetModels"colspan="2" />
        <wt:textbox field="Entity.ProductSerialNumber" colspan="2" />
        <wt:textbox field="Entity.Servicelife" />
        <wt:datetime field="Entity.MaintenanceEndTime" />
        <wt:combobox field="Entity.UseDepId" items="AllUseDeps" link-field="Entity.UsePeopleId" trigger-url="/OrgManage/user/GetUserByDep"/>
        <wt:combobox field="Entity.UsePeopleId" items="AllUsePeoples" />
        <wt:Radio field="Entity.Status" colspan="3"  />
        <wt:textarea field="Entity.Remarks" colspan="4" />
    </wt:row>
    <wt:row align="AlignEnum.Right">
        <wt:submitbutton />
        <wt:closebutton />
    </wt:row>
</wt:form>
